package edu.uow.devdocs
/**
 * The MeetingAttendees entity.
 *
 * @author    
 *
 *
 */
class MeetingAttendees {
    static mapping = {
         table 'MEETING_ATTENDEES'
         // version is set to false, because this isn't available by default for legacy databases
         version false
         person column:'PERSON_ID'
         meetingMinutes column:'MEETING_MINUTES_ID'
    }
    Date lastUpdated
    // Relation
    Person person
    // Relation
    MeetingMinutes meetingMinutes

    static constraints = {
        lastUpdated(nullable: true)
        person()
        meetingMinutes()
    }
    String toString() {
        return "${meetingMinutesId}" 
    }
}
